<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	class Manage_attrac extends CI_Controller{

		public function __construct(){
			parent::__construct();
			$this->load->library('session');
			$this->load->library('form_validation');
			$this->load->library('cismarty');
			$this->load->model("apanel/template");
		}
		
		public function index(){
			//== template
			redirect('manage_attrac/attraclist');
		}
		
		public function attraclist(){
			//== template
			$mark  = 5;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
			$this->cismarty->display('apanel/attrac/attrac-list.html');
		}
		
		public function add(){
				
			//== template
			$mark  =5;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
		}
		
		public function edit($id){
			//== template
			$mark  = 5;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
		}
		
		public function del($id){
		
		}
		
	}
?>